#include <stdio.h>
#include <uv.h>

int main(int argc, char **argv)
{
    uv_loop_t * loop = uv_loop_new();

    printf("Now quitting.\n");
    uv_run(loop, UV_RUN_DEFAULT);

    printf("%0x\n", uv_version());

    uv_loop_t * my = uv_default_loop();
    int num = 2;
    my->data = &num;
    uv_loop_init(my);
    printf("%p\n", my->data);
    printf("%d\n", *(int*)(my->data));
    return 0;
}
